package com.yupi.springbootinit.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yupi.springbootinit.model.dto.chart.ChartQueryRequest;
import com.yupi.springbootinit.model.entity.Chart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.springbootinit.model.entity.User;
import com.yupi.springbootinit.model.vo.BiResponse;
import com.yupi.springbootinit.model.vo.ChartVO;
import org.springframework.web.multipart.MultipartFile;

/**
* @author cj
* @description 针对表【chart(图表信息表)】的数据库操作Service
* @createDate 2024-06-27 10:07:34
*/
public interface ChartService extends IService<Chart> {

    Page<ChartVO> pageChart(Long current,Long size, ChartQueryRequest chartQueryRequest);


    BiResponse SyncAISync(MultipartFile multipartFile, String name, String goal, String chartType, User loginUser);

    BiResponse AsyncAISync(MultipartFile multipartFile, String name, String goal, String chartType, User loginUser);
}
